//类的继承方式对子类对外访问属性影响

#include <cstdlib>
#include <iostream>
#include "D.h"
int main()
{


	D dd;
	//dd.c = 100;  //err
	
	//dd.set(70, 80, 90);  //err 

	dd.print();
	
	return 0;
}
